import request from '@/utils/request'

// 收藏
export function collectAdd(data) {
    return request({
        url: '/ams/collect',
        method: 'POST',
        data: data
    })
}
// 取消收藏
export function collectCancel(data) {
    return request({
        url: '/ams/collect',
        method: 'delete',
        data: data
    })
}